package com.chinacoal.microservice.pojo;

import com.alibaba.fastjson.JSONObject;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * @author zhuliang
 * @version V1.0
 * @Description: 云丁回调信息实体类
 * @date 2020-12-23 16：18
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class YundingCallback implements Serializable {

    //事件类别
    private String event;

    //时间戳，单位MS
    private Long time;

    //设备唯一标识
    private String uuid;

    //房源标识
    private String home_id;

    //房间标识，内门锁才有
    private String room_id;

    //设备的昵称
    private String nickname;

    //事件的详细信息
    private JSONObject detail;

    //签名
    private String sign;

}
